<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Index_Info extends Controller_Index_Base
{   
    public function action_index()
    {           
        header('Location: /info/partner'); 
        die();  
    }
    
    public function action_partner()
    {           
        $content = new View('index/info/partner_tpl');
        $content->shops = ORM::factory('shop')->get_recommend_available_shops();
        
        $this->print_template('Партнерская программа StyleGarderob', $content);
    }
    
    public function action_privacy()
    {           
        $content = new View('index/info/privacy_tpl');
        
        $this->print_template('Политика конфиденциальности StyleGarderob', $content);
    }
    
    public function action_contacts()
    {           
        $content = new View('index/info/contacts_tpl');
        
        $this->print_template('Контакты StyleGarderob', $content);
    }
} 
